package com.lcxw.hxzb.friendcircle.project.system.service;

import com.lcxw.hxzb.friendcircle.project.system.domain.YwpdBargain;

import java.util.List;

/**
 * 会员砍价明细Service接口
 * 
 * @author meeting
 * @date 2020-10-14
 */
public interface IYwpdBargainService 
{
    /**
     * 查询会员砍价明细
     * 
     * @param bargainId 会员砍价明细ID
     * @return 会员砍价明细
     */
    public YwpdBargain selectYwpdBargainById(Long bargainId);

    /**
     * 查询会员砍价明细列表
     * 
     * @param ywpdBargain 会员砍价明细
     * @return 会员砍价明细集合
     */
    public List<YwpdBargain> selectYwpdBargainList(YwpdBargain ywpdBargain);

    /**
     * 新增会员砍价明细
     * 
     * @param ywpdBargain 会员砍价明细
     * @return 结果
     */
    public int insertYwpdBargain(YwpdBargain ywpdBargain);

    /**
     * 修改会员砍价明细
     * 
     * @param ywpdBargain 会员砍价明细
     * @return 结果
     */
    public int updateYwpdBargain(YwpdBargain ywpdBargain);

    /**
     * 批量删除会员砍价明细
     * 
     * @param bargainIds 需要删除的会员砍价明细ID
     * @return 结果
     */
    public int deleteYwpdBargainByIds(Long[] bargainIds);

    /**
     * 删除会员砍价明细信息
     * 
     * @param bargainId 会员砍价明细ID
     * @return 结果
     */
    public int deleteYwpdBargainById(Long bargainId);
}
